package com.buer.storage.controller;

import com.buer.storage.entity.Dorder;
import com.buer.storage.service.IndexService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

//库位管理
@RestController
@RequestMapping("/index")
public class IndexController {

    @Resource
    private IndexService indexService;

    @GetMapping("/selectWorder")
    public List<Map> selectWorder(){

        return indexService.selectWorder();
    }

}
